package com.hsgene.pay.service.api;

import com.hsgene.pay.service.api.impl.TripartiteCallBackImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 消息推送外部系统服务
 */
@FeignClient(name = "ms-mod-message", path = "/v1.0/genetic/testing/tripartite/request", fallback
        = TripartiteCallBackImpl.class)
public interface TripartiteService {

    @GetMapping("agency/order")
    void sendAgencyOrderInfo(@RequestParam("orderId") String orderId);
}
